Javier Jardón [Sat, 7 Nov 2009 01:18:05 +0000 (02:18 +0100)]
Fix a typo
This was introduced in commit
72b69e0094db5ac1f9bf38bea429b45bf2e449e3
Reported by BugByteMan here:
http://mail.gnome.org/archives/gtk-devel-list/2009-November/msg00014.html
Jorge González [Fri, 6 Nov 2009 20:52:01 +0000 (21:52 +0100)]
Updated Spanish translation
Matej Urbančič [Fri, 6 Nov 2009 13:50:26 +0000 (14:50 +0100)]
Updated Slovenian translation
Matej Urbančič [Fri, 6 Nov 2009 13:49:58 +0000 (14:49 +0100)]
Updated Slovenian translation
Joanmarie Diggs [Fri, 6 Nov 2009 08:17:23 +0000 (16:17 +0800)]
Add RELATION_NODE_PARENT_OF relationship for treeview.
Bug 569430.
Nirbheek Chauhan [Fri, 6 Nov 2009 04:47:15 +0000 (05:47 +0100)]
[configure] Add check for cairo-svg.h for file print backend
Closes https://bugzilla.gnome.org/show_bug.cgi?id=600222
Javier Jardón [Fri, 6 Nov 2009 02:41:02 +0000 (03:41 +0100)]
[gdk/x11/gdkdnd-x11] Add missing "Deprecated: 2.x" to the api doc comments.
Javier Jardón [Fri, 6 Nov 2009 02:37:56 +0000 (03:37 +0100)]
[gdk/gdkimage] Add missing "Deprecated: 2.x" to the api doc comments.
Javier Jardón [Fri, 6 Nov 2009 02:30:31 +0000 (03:30 +0100)]
[gdk/gdkgc] Add missing "Deprecated: 2.x" to the api doc comments.
Javier Jardón [Fri, 6 Nov 2009 02:26:27 +0000 (03:26 +0100)]
[gdk/gdkdraw] Add missing "Deprecated: 2.x" to the api doc comments.
Javier Jardón [Fri, 6 Nov 2009 02:16:34 +0000 (03:16 +0100)]
[gdk/gdkcolors] Add missing "Deprecated: 2.x" to the api doc comments.
Javier Jardón [Fri, 30 Oct 2009 18:34:36 +0000 (19:34 +0100)]
Use "Deprecated:" gtk-doc symbol corrently
Also, added some suggestion about replacements for deprecated functions
Nicola Fontana [Fri, 6 Nov 2009 00:21:09 +0000 (01:21 +0100)]
Do not use static GTypeInfo and GInterfaceInfo
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.
https://bugzilla.gnome.org/show_bug.cgi?id=600158
Christian Dywan [Thu, 5 Nov 2009 23:56:30 +0000 (00:56 +0100)]
Improve accessibility context and description of the spinner
https://bugzilla.gnome.org/show_bug.cgi?id=598758
Bruce Cowan [Fri, 30 Oct 2009 18:54:28 +0000 (18:54 +0000)]
Fix tooltips in GtkColorSelection
Tooltips made reference to palette, even though it may not have been
visible. Bug #600150.
Matthias Clasen [Thu, 5 Nov 2009 15:29:34 +0000 (10:29 -0500)]
Fix loading scaled-down jpegs
The assumption that scale_num will be automatically be 1 is no longer
with libjpeg7. So set it explicitly. Bug #588740.
Alexander Larsson [Wed, 4 Nov 2009 13:03:04 +0000 (14:03 +0100)]
Don't unnecessarily clear windows with no exposure mask set
When we just invalidate some area from the app we don't need to clear
windows with no exposure mask, because that wouldn't have happened pre-csw
anyway. Additionally we can avoid such clearing for native windows in cases
where the xserver already did the clearing like on exposes or when resizing
toplevels.
This means we don't fully redraw a GtkSocket when it resizes, thus
avoiding flicker in gnome-mplayer as reported in this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=598050
Alexander Larsson [Wed, 4 Nov 2009 13:01:36 +0000 (14:01 +0100)]
Document clears_as_native and make the name more descriptive
Alexander Larsson [Tue, 3 Nov 2009 14:38:35 +0000 (15:38 +0100)]
Add supports_native_bg to GdkWindowImpl
Backends that support native window background setting (and that clears
new window areas to this color/pixmap) should set this to true.
Currently only X11 supports this.
Alexander Larsson [Tue, 3 Nov 2009 13:47:31 +0000 (14:47 +0100)]
Don't unnecessarily expose areas copied by native windowing system
When moving or scrolling a window with native children, there is no
need to expose the areas that are copied by the windowing system
as part of moving/resizing the native windows anyway.
Alexander Larsson [Tue, 3 Nov 2009 13:41:36 +0000 (14:41 +0100)]
Only send exposes on unmap if window really was unmapped
Exposing when you hide a hidden window is just a waste of time.
Alexander Larsson [Tue, 3 Nov 2009 13:39:50 +0000 (14:39 +0100)]
Flush outstanding stuff when clearing directly on a window
Clearing will directly modify the contents of the window, so we need
to flush any outstanding moves or double-buffering.
Paolo Bonzini [Tue, 3 Nov 2009 16:48:42 +0000 (18:48 +0200)]
Don't run system("touch conf.gtktest") in the AM_PATH_GTK_2_0 macro
Just use the C library instead to create the file. Helps building
using Wine. Not that I think we want to endorse that way to build GTK+
for Windows, proper cross-compiling surely probably more sense, but
accepting this minimal patch doesn't hurt. From bug #590017.
Signed-off-by: Tor Lillqvist <tml@iki.fi>
Javier Jardón [Mon, 2 Nov 2009 23:04:49 +0000 (00:04 +0100)]
Fix some compilation warnings
Cast to guint8* and use guint instead int in some variables
Javier Jardón [Mon, 2 Nov 2009 02:10:16 +0000 (03:10 +0100)]
Fix compilation warning: Use gpointer variables
Benjamin Otte [Mon, 2 Nov 2009 18:49:11 +0000 (19:49 +0100)]
Don't keep the filesystem model alive while querying files
This allows disposing of the filesystemmodel while the file enumeration
is still happening.
As the filechooser does not disconnect its signals because it assumes it
is the only owner of the model, this also prevents a SEGV when emitting
the "load-finished" signal in that case.
Benjamin Otte [Mon, 2 Nov 2009 18:48:05 +0000 (19:48 +0100)]
Simplify cleanup code
The patch ensures that the file browse model can only get removed in one
place, so it's easier to clean up.
Matthias Clasen [Mon, 2 Nov 2009 00:37:53 +0000 (19:37 -0500)]
Bump version
Matthias Clasen [Mon, 2 Nov 2009 00:23:05 +0000 (19:23 -0500)]
2.19.0
Matthias Clasen [Sun, 1 Nov 2009 23:53:51 +0000 (18:53 -0500)]
Another property formatting fix
Matthias Clasen [Sun, 1 Nov 2009 21:41:48 +0000 (16:41 -0500)]
Work around a gtk-doc formatting problem
Matthias Clasen [Sun, 1 Nov 2009 21:12:43 +0000 (16:12 -0500)]
Documentation and stylistic fixups
Matthias Clasen [Sun, 1 Nov 2009 20:45:09 +0000 (15:45 -0500)]
Remove en@shaw from LINGUAS
It breaks the build because there is no po-properties/en@shaw.po.
Please add that file before adding it back, thanks.
Matthias Clasen [Sun, 1 Nov 2009 20:40:02 +0000 (15:40 -0500)]
Updates
Thomas Thurman [Sun, 1 Nov 2009 02:20:09 +0000 (22:20 -0400)]
Shavian translation fix
Thomas Thurman [Sun, 1 Nov 2009 01:52:18 +0000 (21:52 -0400)]
Shavian translation
Khaled Hosny [Fri, 30 Oct 2009 19:38:21 +0000 (21:38 +0200)]
Updated Arabic translation
Javier Jardón [Fri, 30 Oct 2009 18:11:28 +0000 (19:11 +0100)]
Fix warning: Initialize to TRUE the returned variable
Also, fixing some indentation problems
Javier Jardón [Fri, 30 Oct 2009 03:47:19 +0000 (04:47 +0100)]
Fix some compilation warnings
Use proper gint8 array variable instead a string
Javier Jardón [Thu, 29 Oct 2009 03:39:18 +0000 (04:39 +0100)]
Fix warning: cast to gint*
Javier Jardón [Thu, 29 Oct 2009 02:39:35 +0000 (03:39 +0100)]
Fix some compilation warnings
Fixed the prototypes of MyEnhancedXkbTranslateKeyCode() and
translate_keysym() to take a gint* because those functions treat
these arguments as an int, so we get around the need to cast.
Javier Jardón [Fri, 30 Oct 2009 05:07:15 +0000 (06:07 +0100)]
Use "Since: 2.x" instead "Since 2.x"
Javier Jardón [Thu, 29 Oct 2009 03:53:24 +0000 (04:53 +0100)]
Fix warning: some casts to gchar*
Javier Jardón [Thu, 29 Oct 2009 03:25:07 +0000 (04:25 +0100)]
Remove statement with no effect
Javier Jardón [Thu, 29 Oct 2009 02:58:00 +0000 (03:58 +0100)]
Fix warning: cast to gchar*
Javier Jardón [Wed, 28 Oct 2009 22:49:55 +0000 (23:49 +0100)]
Fix warning: cast to gchar*
Matthias Clasen [Wed, 28 Oct 2009 16:13:58 +0000 (12:13 -0400)]
Allow setting type hints on unmapped windows
We set the hint on map, so it makes sense to check for GTK_WIDGET_MAPPED,
not GTK_WIDGET_VISIBLE as the code currently does.
Yevgen Muntyan [Tue, 27 Oct 2009 23:43:08 +0000 (00:43 +0100)]
Use standard mac shortcuts: add gtk/gtkrc.key.mac
This completes commit
3c510f028f9a399c80851d2cb8c230e930abd4ff
https://bugzilla.gnome.org/show_bug.cgi?id=530351
Christian Dywan [Tue, 27 Oct 2009 21:39:30 +0000 (22:39 +0100)]
Deprecate functions according to deprecated GtkButton signals
https://bugzilla.gnome.org/show_bug.cgi?id=599218
Christian Dywan [Tue, 27 Oct 2009 21:38:46 +0000 (22:38 +0100)]
Don't use deprecated button signal functions in clist and combo
Christian Dywan [Tue, 27 Oct 2009 21:37:57 +0000 (22:37 +0100)]
Don't use deprecated button signal functions in Gail
Jorge González [Tue, 27 Oct 2009 20:40:12 +0000 (21:40 +0100)]
Updated Spanish translation
Christian Dywan [Tue, 27 Oct 2009 20:27:28 +0000 (21:27 +0100)]
Don't use structure fields of GtkAccelMap in GtkSocket
https://bugzilla.gnome.org/show_bug.cgi?id=599403
Christian Dywan [Tue, 27 Oct 2009 20:25:56 +0000 (21:25 +0100)]
Allow removing all closures with gtk_accel_group_disconnect
https://bugzilla.gnome.org/show_bug.cgi?id=599403
Marek Kasik [Tue, 27 Oct 2009 16:35:37 +0000 (17:35 +0100)]
Don't assign a GtkPageOrientation to a boolean value
GtkPrintOperationPrivate->orientation is a boolean value.
Marek Kasik [Tue, 27 Oct 2009 15:53:43 +0000 (16:53 +0100)]
Rotate number-up layout according to orientation when printing
Number-up layout has to be rotated differently since rotation in
"landscape" and "reversed landscape" mode was changed.
Adrian Johnson [Mon, 26 Oct 2009 09:09:16 +0000 (11:09 +0200)]
Take printer margins into account on Windows
Fixes bug #381371.
Christian Dywan [Mon, 26 Oct 2009 23:30:54 +0000 (00:30 +0100)]
Only set the accesible label if it is non-empty
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=599446
Javier Jardón [Mon, 26 Oct 2009 21:51:41 +0000 (22:51 +0100)]
Use G_STRLOC instead __FILE__ and __LINE__
Nick Schermer [Mon, 26 Oct 2009 21:27:03 +0000 (22:27 +0100)]
gtk_init_with_args() arguments should be const gchar*
The translation_domain argument should be const gchar * to allow compilation
with -Wwrite-strings. It only passes the argument to
g_option_context_add_main_entries() which is already const gchar*.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=583305
Dumitru Mișu Moldovan [Mon, 26 Oct 2009 20:54:59 +0000 (22:54 +0200)]
Updated Romanian translation
Javier Jardón [Wed, 21 Oct 2009 21:02:29 +0000 (23:02 +0200)]
Use G_STRFUNC and G_STRLOC instead __FUNCTION__ and __FILE__
Javier Jardón [Wed, 21 Oct 2009 20:47:05 +0000 (22:47 +0200)]
Use G_STRFUNC instead __FUNCTION__
Javier Jardón [Wed, 21 Oct 2009 21:25:56 +0000 (23:25 +0200)]
Use G_STRLOC instead __LINE__
Javier Jardón [Wed, 21 Oct 2009 20:35:12 +0000 (22:35 +0200)]
Use G_STRFUNC instead __FUNCTION__
Marek Kasik [Mon, 26 Oct 2009 16:47:37 +0000 (17:47 +0100)]
Show correct print preview
Modify print preview according to settings from print dialog.
Similar approach as during real print is applied to the preview
process (#592582).
Javier Jardón [Sun, 25 Oct 2009 21:47:17 +0000 (22:47 +0100)]
Cast to gchar* to fix a compilation warning
Kristian Rietveld [Mon, 26 Oct 2009 08:57:11 +0000 (09:57 +0100)]
Update copyright
Kristian Rietveld [Mon, 26 Oct 2009 08:20:28 +0000 (09:20 +0100)]
Update position of toplevels after display reconfiguration
We have to do this, especially after the screen containing the menubar
has changed. Such more larger changes in monitor geometry will cause
changes to how monitors are laid out in the root window. The position
coordinates of the windows will have to be updated to reflect their
position in the new layout.
Kristian Rietveld [Mon, 26 Oct 2009 07:58:12 +0000 (08:58 +0100)]
Fixup get_nsscreen_for_x()
Kristian Rietveld [Mon, 26 Oct 2009 07:53:52 +0000 (08:53 +0100)]
Remove unused variable (fix compiler warning)
Kristian Rietveld [Mon, 26 Oct 2009 07:53:20 +0000 (08:53 +0100)]
Update size of root window after display reconfiguration
Kristian Rietveld [Mon, 26 Oct 2009 07:42:15 +0000 (08:42 +0100)]
Support arbitrary screen layouts
The Quartz port now supports arbitrary multiple monitor layouts instead
of only monitors are were laid out horizontally. This builds on the
reworked coordinate translation done in a previous commit.
Kristian Rietveld [Sun, 25 Oct 2009 20:36:56 +0000 (21:36 +0100)]
Rework coordinate transformation to be based on root window
The root window contains all the monitors attached to a Mac. The
coordinate transformation now both translates the x and y coordinate,
translating it from the Cocoa monitor coordinate space to the GDK
coordinate space. How monitors are laid out in the root window differs
between Cocoa and GDK, which is why it is important to translate based
on the root window to get multi monitor setups to work properly.
We have replaced the old y coordinate transformation function with
new functions that translate both the x and y coordinate.
When creating new toplevels, we have to determine the Cocoa screen on
which the toplevel should appear and translate the coordinates according
to that screen.
This change also fixes event handling in case there is a monitor left
of the screen containing the menu bar. In such a case all coordinates
on the left monitor are negative. Event handling broke, because of
_gdk_quartz_window_find_child() checking bounds. Now that coordinates
are always properly translated to GDK coordinate space, in which negative
coordinates do never occur, the checks here will work properly.
Kristian Rietveld [Sat, 24 Oct 2009 12:53:28 +0000 (14:53 +0200)]
Be consistent with X11: emit monitors-changed first, then size-changed
Kristian Rietveld [Sat, 24 Oct 2009 10:26:46 +0000 (12:26 +0200)]
Update documentation for ::monitors-changed to mention OS X support
Kristian Rietveld [Sat, 24 Oct 2009 10:25:55 +0000 (12:25 +0200)]
Use screen when emitting signal, not _gdk_screen
Kristian Rietveld [Sat, 24 Oct 2009 10:25:29 +0000 (12:25 +0200)]
Emit monitors-changed signal when appropriate
Kristian Rietveld [Sat, 24 Oct 2009 09:51:51 +0000 (11:51 +0200)]
Move screen resolution setup to GdkScreenQuartz initializer
Kristian Rietveld [Sat, 24 Oct 2009 09:48:39 +0000 (11:48 +0200)]
Create a proper subclass of GdkScreen: GdkScreenQuartz
Kristian Rietveld [Sat, 24 Oct 2009 08:29:43 +0000 (10:29 +0200)]
Register and handle a display reconfiguration callback
Using this we can update our internal monitor/screen layout state
and emit the GdkScreen::size-changed signal. Work has not
completely finished on this yet, see bug 596238.
Kristian Rietveld [Mon, 12 Oct 2009 07:55:45 +0000 (09:55 +0200)]
Setup monitor rects during screen initialization and re-use data
Kristian Rietveld [Wed, 7 Oct 2009 16:54:47 +0000 (18:54 +0200)]
Move screen initialization to gdkscreen-quartz.c
Matthias Clasen [Mon, 26 Oct 2009 03:47:59 +0000 (23:47 -0400)]
Fix issues with symbolic colors in rc file parsing
Don't recreate the settings color hash every time, repopulate it
instead. This avoids invalidating the references held by RcContexts.
Matthias Clasen [Mon, 26 Oct 2009 03:46:27 +0000 (23:46 -0400)]
Fixes for the compose-parse.py script
Several fixes by Ray Strode and Peter Hutterer to make compose-parse.py
work with the current X.org Compose file.
Matthias Clasen [Mon, 26 Oct 2009 03:42:58 +0000 (23:42 -0400)]
Update compose sequences
This patch includes additions to the X.org Compose file from the
last year. Patch by Peter Hutterer
Kevin Peng [Sun, 25 Oct 2009 21:03:19 +0000 (22:03 +0100)]
GdkPixbuf loader for QTIF format
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=366217
Yevgen Muntyan [Sun, 25 Oct 2009 22:46:19 +0000 (23:46 +0100)]
Use standard mac shortcuts
This changes Ctrl-X, Ctrl-C, etc. to Cmd-X, Cmd-C, etc. Also,
Alt-Left and Alt-Right in text widgets bound to Ctrl-Left and
Ctrl-Right actions
https://bugzilla.gnome.org/show_bug.cgi?id=530351
Javier Jardón [Sat, 24 Oct 2009 15:09:01 +0000 (17:09 +0200)]
Cast to gchar* to fix a compilation warning
Michael Emmel [Sat, 24 Oct 2009 15:17:06 +0000 (17:17 +0200)]
Fix for position bug
https://bugzilla.gnome.org/show_bug.cgi?id=590800
Matthew Barnes [Fri, 23 Oct 2009 23:32:25 +0000 (19:32 -0400)]
Bug 581150 - GtkIconView tries to paint items with invalid sizes
Run gtk_icon_view_layout() if necessary before attempting to paint the
icon view items during an expose event. This ensures all the items have
valid sizes, as some themes don't take kindly to negative dimensions.
Kristian Rietveld [Fri, 23 Oct 2009 11:53:57 +0000 (13:53 +0200)]
Bug 598881 - Unimplemented GdkWindowImplIface methods crash gimp on OSX
Add dummy for _gdk_input_window_crossing (). Set both input_window_destroy
and input_window_crossing pointers in the Impl struct.
Reported by John Ralls.
Tor Lillqvist [Fri, 23 Oct 2009 10:40:27 +0000 (13:40 +0300)]
Use correct type text/uri-list for the dropped files selection
Fixes bug #599321.
Javier Jardón [Wed, 21 Oct 2009 22:00:52 +0000 (00:00 +0200)]
Cast to gchar* to fix a compilation warning
Javier Jardón [Wed, 21 Oct 2009 21:53:01 +0000 (23:53 +0200)]
Cast to fix compilation warning
Luca Ferretti [Wed, 21 Oct 2009 20:06:14 +0000 (22:06 +0200)]
Add translators comments for tab labels (closes 599118)
Luca Ferretti [Wed, 21 Oct 2009 19:47:06 +0000 (21:47 +0200)]
Minor fixes
Javier Jardon [Wed, 21 Oct 2009 18:46:44 +0000 (21:46 +0300)]
Use G_STRLOC instead __FILE__ and __LINE__
Patch from bug #599225
Michael Natterer [Wed, 21 Oct 2009 18:21:20 +0000 (20:21 +0200)]
Add single-include guard and reduce includes to what's needed
Michael Natterer [Wed, 21 Oct 2009 18:20:54 +0000 (20:20 +0200)]
Don't allow to include this new header individually